//
//  GuanyuViewController.m
//  舒适家
//
//  Created by dllo on 15/10/20.
//  Copyright (c) 2015年 lsc. All rights reserved.
//

#import "GuanyuViewController.h"

@interface GuanyuViewController ()

@end

@implementation GuanyuViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    
    //导航栏左侧按钮
    UIImage *image = [UIImage imageNamed:@"iconfont-unie642.png"];
    //取消渲染
    image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:image style:UIBarButtonItemStylePlain target:self action:@selector(leftBarAction)];
    
    UILabel *label=[[UILabel alloc]initWithFrame:CGRectMake(20*WIDTHSCALE, 100*HEIGHTSCALE, self.view.frame.size.width-20*WIDTHSCALE, self.view.frame.size.height-200*HEIGHTSCALE)];
    [self.view addSubview:label];
    label.text=@"LeftFinder是一款家居生活为主题的图片分享App，在这里，发现感兴趣的内容，收藏喜爱的事物!                                 联系我们:TaoZhangBoos@163.com";
    label.numberOfLines=4;
    UIImageView *view=[[UIImageView alloc]initWithFrame:CGRectMake(self.view.frame.size.width/2-40*WIDTHSCALE, 164*HEIGHTSCALE, 80*WIDTHSCALE, 80*HEIGHTSCALE)];
    view.image=[UIImage imageNamed:@"icon.png"];
    [self.view addSubview:view];
}
-(void)leftBarAction
{
    [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
